Optimal. Leaf size=78 \[ \frac{c^{3/2} (b B-A c) \tan ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b}}\right )}{b^{7/2}}-\frac{b B-A c}{3 b^2 x^3}+\frac{c (b B-A c)}{b^3 x}-\frac{A}{5 b x^5} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0681362, antiderivative size = 78, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {1584, 453, 325, 205} \[ \frac{c^{3/2} (b B-A c) \tan ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b}}\right )}{b^{7/2}}-\frac{b B-A c}{3 b^2 x^3}+\frac{c (b B-A c)}{b^3 x}-\frac{A}{5 b x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 453
Rule 325
Rule 205
Rubi steps
\begin{align*} \int \frac{A+B x^2}{x^4 \left (b x^2+c x^4\right )} \, dx &=\int \frac{A+B x^2}{x^6 \left (b+c x^2\right )} \, dx\\ &=-\frac{A}{5 b x^5}-\frac{(-5 b B+5 A c) \int \frac{1}{x^4 \left (b+c x^2\right )} \, dx}{5 b}\\ &=-\frac{A}{5 b x^5}-\frac{b B-A c}{3 b^2 x^3}-\frac{(c (b B-A c)) \int \frac{1}{x^2 \left (b+c x^2\right )} \, dx}{b^2}\\ &=-\frac{A}{5 b x^5}-\frac{b B-A c}{3 b^2 x^3}+\frac{c (b B-A c)}{b^3 x}+\frac{\left (c^2 (b B-A c)\right ) \int \frac{1}{b+c x^2} \, dx}{b^3}\\ &=-\frac{A}{5 b x^5}-\frac{b B-A c}{3 b^2 x^3}+\frac{c (b B-A c)}{b^3 x}+\frac{c^{3/2} (b B-A c) \tan ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b}}\right )}{b^{7/2}}\\ \end{align*}
Mathematica [A] time = 0.0534885, size = 78, normalized size = 1. \[ \frac{c^{3/2} (b B-A c) \tan ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b}}\right )}{b^{7/2}}+\frac{A c-b B}{3 b^2 x^3}+\frac{c (b B-A c)}{b^3 x}-\frac{A}{5 b x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 96, normalized size = 1.2 \begin{align*} -{\frac{A}{5\,b{x}^{5}}}+{\frac{Ac}{3\,{b}^{2}{x}^{3}}}-{\frac{B}{3\,b{x}^{3}}}-{\frac{A{c}^{2}}{{b}^{3}x}}+{\frac{cB}{{b}^{2}x}}-{\frac{A{c}^{3}}{{b}^{3}}\arctan \left ({cx{\frac{1}{\sqrt{bc}}}} \right ){\frac{1}{\sqrt{bc}}}}+{\frac{{c}^{2}B}{{b}^{2}}\arctan \left ({cx{\frac{1}{\sqrt{bc}}}} \right ){\frac{1}{\sqrt{bc}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.834914, size = 398, normalized size = 5.1 \begin{align*} \left [-\frac{15 \,{\left (B b c - A c^{2}\right )} x^{5} \sqrt{-\frac{c}{b}} \log \left (\frac{c x^{2} - 2 \, b x \sqrt{-\frac{c}{b}} - b}{c x^{2} + b}\right ) - 30 \,{\left (B b c - A c^{2}\right )} x^{4} + 6 \, A b^{2} + 10 \,{\left (B b^{2} - A b c\right )} x^{2}}{30 \, b^{3} x^{5}}, \frac{15 \,{\left (B b c - A c^{2}\right )} x^{5} \sqrt{\frac{c}{b}} \arctan \left (x \sqrt{\frac{c}{b}}\right ) + 15 \,{\left (B b c - A c^{2}\right )} x^{4} - 3 \, A b^{2} - 5 \,{\left (B b^{2} - A b c\right )} x^{2}}{15 \, b^{3} x^{5}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.677921, size = 163, normalized size = 2.09 \begin{align*} - \frac{\sqrt{- \frac{c^{3}}{b^{7}}} \left (- A c + B b\right ) \log{\left (- \frac{b^{4} \sqrt{- \frac{c^{3}}{b^{7}}} \left (- A c + B b\right )}{- A c^{3} + B b c^{2}} + x \right )}}{2} + \frac{\sqrt{- \frac{c^{3}}{b^{7}}} \left (- A c + B b\right ) \log{\left (\frac{b^{4} \sqrt{- \frac{c^{3}}{b^{7}}} \left (- A c + B b\right )}{- A c^{3} + B b c^{2}} + x \right )}}{2} + \frac{- 3 A b^{2} + x^{4} \left (- 15 A c^{2} + 15 B b c\right ) + x^{2} \left (5 A b c - 5 B b^{2}\right )}{15 b^{3} x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.25137, size = 109, normalized size = 1.4 \begin{align*} \frac{{\left (B b c^{2} - A c^{3}\right )} \arctan \left (\frac{c x}{\sqrt{b c}}\right )}{\sqrt{b c} b^{3}} + \frac{15 \, B b c x^{4} - 15 \, A c^{2} x^{4} - 5 \, B b^{2} x^{2} + 5 \, A b c x^{2} - 3 \, A b^{2}}{15 \, b^{3} x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]